package com.lottery.pojo.thrift.service.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Sale extends Base {

  @Value("${thrift.service.sale.address}")
  String address;
  @Value("${thrift.service.sale.port}")
  int port;

  @Override
  public String getAddress() {
    return address;
  }

  @Override
  public int getPort() {
    return port;
  }
}